package com.example.final_project.entity;

import lombok.Data;
import java.util.Date;

@Data
public class Inventory {
    private Long id;
    private Long bookId;
    private Integer quantity;  // 库存数量
    private Date createTime;
    private Date updateTime;
    
    // 关联的图书信息
    private Book book;
} 